<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分片上传</title>
    <style>
        .box-upload {
            width: 400px;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
        }
    </style>
</head>

<body>
    <div class="box-upload">
        <p>
            <progress id="uploadProgress" value="0"></progress>
        </p>
        <p>
            <input type="file" id="videoUploader" value="选择视频">
        </p>
        <p>
            <span id="uploadInfo"></span>
        </p>
        <p>
            <button id="uploadBtn">上传视频</button>
        </p>
    </div>

    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
    <script src="./src/app.js" type="module"></script>
</body>

</html>